Optimal. Leaf size=146 \[ -\frac {(b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^3 (a+b x) (d+e x)^7}+\frac {b (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}{3 e^3 (a+b x) (d+e x)^6}-\frac {b^2 \sqrt {a^2+2 a b x+b^2 x^2}}{5 e^3 (a+b x) (d+e x)^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 146, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {784, 21, 45}
\begin {gather*} -\frac {b^2 \sqrt {a^2+2 a b x+b^2 x^2}}{5 e^3 (a+b x) (d+e x)^5}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)}{3 e^3 (a+b x) (d+e x)^6}-\frac {\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^2}{7 e^3 (a+b x) (d+e x)^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 45
Rule 784
Rubi steps
\begin {align*} \int \frac {(a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}{(d+e x)^8} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {(a+b x) \left (a b+b^2 x\right )}{(d+e x)^8} \, dx}{a b+b^2 x}\\ &=\frac {\left (b \sqrt {a^2+2 a b x+b^2 x^2}\right ) \int \frac {(a+b x)^2}{(d+e x)^8} \, dx}{a b+b^2 x}\\ &=\frac {\left (b \sqrt {a^2+2 a b x+b^2 x^2}\right ) \int \left (\frac {(-b d+a e)^2}{e^2 (d+e x)^8}-\frac {2 b (b d-a e)}{e^2 (d+e x)^7}+\frac {b^2}{e^2 (d+e x)^6}\right ) \, dx}{a b+b^2 x}\\ &=-\frac {(b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^3 (a+b x) (d+e x)^7}+\frac {b (b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}{3 e^3 (a+b x) (d+e x)^6}-\frac {b^2 \sqrt {a^2+2 a b x+b^2 x^2}}{5 e^3 (a+b x) (d+e x)^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 73, normalized size = 0.50 \begin {gather*} -\frac {\sqrt {(a+b x)^2} \left (15 a^2 e^2+5 a b e (d+7 e x)+b^2 \left (d^2+7 d e x+21 e^2 x^2\right )\right )}{105 e^3 (a+b x) (d+e x)^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
2.
time = 0.06, size = 68, normalized size = 0.47
method | result | size |
default | \(-\frac {\mathrm {csgn}\left (b x +a \right ) \left (21 b^{2} e^{2} x^{2}+35 a b \,e^{2} x +7 b^{2} d e x +15 a^{2} e^{2}+5 a b d e +b^{2} d^{2}\right )}{105 e^{3} \left (e x +d \right )^{7}}\) | \(68\) |
gosper | \(-\frac {\left (21 b^{2} e^{2} x^{2}+35 a b \,e^{2} x +7 b^{2} d e x +15 a^{2} e^{2}+5 a b d e +b^{2} d^{2}\right ) \sqrt {\left (b x +a \right )^{2}}}{105 e^{3} \left (e x +d \right )^{7} \left (b x +a \right )}\) | \(78\) |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (-\frac {b^{2} x^{2}}{5 e}-\frac {b \left (5 a e +b d \right ) x}{15 e^{2}}-\frac {15 a^{2} e^{2}+5 a b d e +b^{2} d^{2}}{105 e^{3}}\right )}{\left (b x +a \right ) \left (e x +d \right )^{7}}\) | \(79\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.88, size = 119, normalized size = 0.82 \begin {gather*} -\frac {b^{2} d^{2} + {\left (21 \, b^{2} x^{2} + 35 \, a b x + 15 \, a^{2}\right )} e^{2} + {\left (7 \, b^{2} d x + 5 \, a b d\right )} e}{105 \, {\left (x^{7} e^{10} + 7 \, d x^{6} e^{9} + 21 \, d^{2} x^{5} e^{8} + 35 \, d^{3} x^{4} e^{7} + 35 \, d^{4} x^{3} e^{6} + 21 \, d^{5} x^{2} e^{5} + 7 \, d^{6} x e^{4} + d^{7} e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.82, size = 139, normalized size = 0.95 \begin {gather*} \frac {- 15 a^{2} e^{2} - 5 a b d e - b^{2} d^{2} - 21 b^{2} e^{2} x^{2} + x \left (- 35 a b e^{2} - 7 b^{2} d e\right )}{105 d^{7} e^{3} + 735 d^{6} e^{4} x + 2205 d^{5} e^{5} x^{2} + 3675 d^{4} e^{6} x^{3} + 3675 d^{3} e^{7} x^{4} + 2205 d^{2} e^{8} x^{5} + 735 d e^{9} x^{6} + 105 e^{10} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.84, size = 96, normalized size = 0.66 \begin {gather*} -\frac {{\left (21 \, b^{2} x^{2} e^{2} \mathrm {sgn}\left (b x + a\right ) + 7 \, b^{2} d x e \mathrm {sgn}\left (b x + a\right ) + b^{2} d^{2} \mathrm {sgn}\left (b x + a\right ) + 35 \, a b x e^{2} \mathrm {sgn}\left (b x + a\right ) + 5 \, a b d e \mathrm {sgn}\left (b x + a\right ) + 15 \, a^{2} e^{2} \mathrm {sgn}\left (b x + a\right )\right )} e^{\left (-3\right )}}{105 \, {\left (x e + d\right )}^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.13, size = 77, normalized size = 0.53 \begin {gather*} -\frac {\sqrt {{\left (a+b\,x\right )}^2}\,\left (15\,a^2\,e^2+5\,a\,b\,d\,e+35\,a\,b\,e^2\,x+b^2\,d^2+7\,b^2\,d\,e\,x+21\,b^2\,e^2\,x^2\right )}{105\,e^3\,\left (a+b\,x\right )\,{\left (d+e\,x\right )}^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________